package com.zzq.account.service;

import com.zzq.account.entities.dto.AccountDTO;
import com.zzq.common.exception.BusinessException;

/**
 * @author zzq
 * @date 2020/4/10 8:17 下午
 */
public interface AccountService {
    AccountDTO selectByCode(String accountCode);

    void updateAccount(AccountDTO accountVO);

    AccountDTO insertAccount(AccountDTO accountVO) throws BusinessException;

    int deleteAccount(String accountCode);
}
